<?php
require_once 'PHP/UML.php';

$uml = new PHP_UML();   
$uml->parseFile('Default_Model_WordRootRepository'); 
$uml->generateXMI(2);             // UML version number (1 or 2)
$uml->saveXMI('test2.xmi');
?> 